import {theme} from "../../common/theme.js";

export const css = `
 .custom-content {
    position: relative;
    top: ${theme.topHeight};
    background-color: ${theme.bgc};
    color: ${theme.tc};
    font-size: 16px;
    width: 100%;
    height: calc(100% - ${theme.topHeight});
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s ease, margin 0.3s ease;
}

video-player {
    width: 100%;
    height: 100%;
    display: block;
}

/* 平板设备 */
@media (max-width: 1024px) {
    .custom-content {
        padding: 18px;
        margin: 10px;
        width: calc(100% - 20px);
    }
}

/* 移动设备 - 横屏 */
@media (max-width: 768px) {
    .custom-content {
        padding: 15px;
        margin: 8px;
        width: calc(100% - 16px);
        border-radius: 6px;
    }
}

/* 移动设备 - 竖屏 */
@media (max-width: 480px) {
    .custom-content {
        padding: 12px;
        margin: 5px;
        width: calc(100% - 10px);
        border-radius: 4px;
        font-size: 14px;
    }
}

/* 超小屏幕 */
@media (max-width: 320px) {
    .custom-content {
        padding: 10px;
        margin: 3px;
        width: calc(100% - 6px);
        font-size: 13px;
    }
}
`